package com.zt.weibo.vo;

import com.google.gson.annotations.SerializedName;

/**
 * 用户信息类
 * @author zhaotong
 */
public class UserInfo extends Info
{
	/**
	 * 序列化序号
	 */
	private static final long serialVersionUID = -1784176399296653312L;

	/**
	 * 用户昵称
	 */
	@SerializedName(value = "screen_name")
	public String strName;
	
	/**
	 * 用户所在地点
	 */
	@SerializedName(value = "location")
	public String strLocation;
	
	/**
	 * 用户签名
	 */
	@SerializedName(value = "description")
	public String strDescription;
	
	/**
	 * 用户主页
	 */
	@SerializedName(value = "url")
	public String strUrl;
	
	/**
	 * 用户头像（小）
	 */
	@SerializedName(value = "profile_image_url")
	public String strProfileImageUrl;
	
	/**
	 * 用户头像（大）
	 */
	@SerializedName(value = "avatar_large")
	public String strAvatarLargeImageUrl;
	
	/**
	 * 用户性别（m:男，f:女）
	 */
	@SerializedName(value = "gender")
	public String strGender;
	
	/**
	 * 用户粉丝数
	 */
	@SerializedName(value = "followers_count")
	public int iFollowersCount;
	
	/**
	 * 用户关注数
	 */
	@SerializedName(value = "friends_count")
	public int iFriendsCount;
	
	/**
	 * 用户微博数
	 */
	@SerializedName(value = "statuses_count")
	public int iStatusesCount;
	
	/**
	 * 用户收藏数
	 */
	@SerializedName(value = "favourites_count")
	public int iFavouritesCount;
	
	/**
	 * 是否关注了该用户
	 */
	@SerializedName(value = "following")
	public boolean bIsFollowing;
	
	/**
	 * 对该用户的备注
	 */
	@SerializedName(value = "remark")
	public String strRemark;
	
	/**
	 * 该用户是否关注我
	 */
	@SerializedName(value = "follow_me")
	public boolean bIsFollowMe;
	
	/**
	 * 是否为认证用户
	 */
	@SerializedName(value = "verified")
	public boolean bIsVerified;
	
	/**
	 * 成为认证用户的理由
	 */
	@SerializedName(value = "verified_reason")
	public String strVerifiedReason;
	
	public UserInfo()
	{
		strId = "";
		strCreatTime = "";
		strName = "";
		strDescription = "";
		strGender = "";
		strLocation = "";
		strProfileImageUrl = "";
		strAvatarLargeImageUrl = "";
		strRemark = "";
		strUrl = "";
		iStatusesCount = 0;
		iFollowersCount = 0;
		iFriendsCount = 0;
		iFavouritesCount = 0;
		bIsFollowing = false;
		bIsFollowMe = false;
		bIsVerified = false;
		strVerifiedReason = "";
	}

	@Override
	public String toString()
	{
		StringBuffer stringBuffer = new StringBuffer();
		stringBuffer.append("Name = " + strName + "\n");
		stringBuffer.append("Description = " + strDescription + "\n");
		stringBuffer.append("Gender = " + strGender + "\n");
		stringBuffer.append("Location = " + strLocation + "\n");
		stringBuffer.append("Profile Image Url = " + strProfileImageUrl + "\n");
		stringBuffer.append("Avatar Large Image url" + strAvatarLargeImageUrl + "\n");
		stringBuffer.append("Remark = " + strRemark + "\n");
		stringBuffer.append("Url = " + strUrl + "\n");
		stringBuffer.append("Statuses Count = " + iStatusesCount + "\n");
		stringBuffer.append("Followers Count = " + iFollowersCount + "\n");
		stringBuffer.append("Friends Count = " + iFriendsCount + "\n");
		stringBuffer.append("Favourites Count = " + iFavouritesCount + "\n");
		stringBuffer.append("Following = " + bIsFollowing + "\n");
		stringBuffer.append("Follow me = " + bIsFollowMe + "\n");
		stringBuffer.append("bIsVerified = " + bIsVerified + "\n");
		stringBuffer.append("Verified Reason = " + strVerifiedReason + "\n");
		return super.toString() + stringBuffer.toString();
	}
	
	
}
